CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

PROJECT(TDengine)

IF (TD_LINUX)
  AUX_SOURCE_DIRECTORY(. SRC)
  INCLUDE_DIRECTORIES(${TD_ROOT_DIR}/src/inc ${TD_ROOT_DIR}/src/client/inc ${TD_OS_DIR}/inc)
  ADD_EXECUTABLE(taosBenchmark ${SRC})
  TARGET_LINK_LIBRARIES(taosBenchmark taos_static)
ENDIF ()
